package com.example.universitylibraryback.service;

import com.example.universitylibraryback.entity.BorrowRecord;
import java.util.List;

public interface BorrowService {
    boolean borrowBook(String bookId, String readerId, String operatorRole);
    boolean returnBook(String bookId, String readerId);
    boolean renewBook(String recordId);
    List<BorrowRecord> getBorrowRecordsByReaderId(String readerId);
    List<BorrowRecord> getOverdueRecords();
    BorrowRecord getBorrowRecordById(String recordId);
}